package cn.edu.cxcyzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.cxcyzx.entity.RoomPOJO;

public interface RoomDao {
	
	public List<RoomPOJO> getRooms();
	
	/**
	 * 增加房间空位
	 * @param roomId
	 * @param num
	 */
	public void addRest(@Param("roomId")String roomId,@Param("num")int num);
	/**
	 * 减少房间空位
	 * @param roomId
	 * @param num
	 */
	public void downRest(@Param("roomId")String roomId,@Param("num")int num);
}
